package cn.zhy.org.mapper;

import cn.zhy.org.domain.Shop;
import cn.zhy.basic.mapper.BaseMapper;
import cn.zhy.org.dto.ShopDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mingo
 * @since 2022-07-08
 */
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 店铺入驻：检验当前入驻信息是否入驻过
     * @param shop
     * @return
     */
    Shop loadByNameAndAddress(Shop shop);

    List<ShopDto> echar();
}
